console.log('ok');


import Vue from 'vue/dist/vue.js'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import './css/mui/css/mui.min.css'

import './css/mui/css/icons-extra.css'
import VueRouter from 'vue-router'
import moment from 'moment'
// import VueLazyload from 'vue-lazyload'

import app from './app.vue'
import router from './router.js'
import { Header ,Swipe, SwipeItem, Button, Toast, Lazyload  } from 'mint-ui'

// Vue.use(VueLazyload)
Vue.use(VueRouter)
Vue.use(MintUI)
Vue.use(Lazyload)
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
Vue.component(Button.name, Button)
Vue.component(Toast.name, Toast)
Vue.filter('dateFormat',function(data){
    return moment(data).format("YYYY-MM-DD HH:mm:ss")
})
let vm = new Vue({
    el: '#app',
    data: {
    },
    // components: {
    //     app
    // },
    router,
    render: c => c(app)

})